import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import pinia from './stores'
// 引入多语言 i18n 插件
import i18n from '@/language'
// 引入ele图标库
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(i18n)


app.use(pinia)
app.use(router)
app.mount('#app')
